package com.wh.order.service;

import com.wh.order.dto.OrderListQueryDto;
import com.wh.order.pojo.OrderList;
import com.wh.order.pojo.OrderPetAcquisition;
import com.wh.order.dto.OrderPetAcquisitionDto;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;

import javax.servlet.http.HttpServletRequest;


/**
* 后端Service接口；
*/
public interface IOrderPetAcquisitionService {


    /**
     * 获取所有对象
     * @return
     */
    List<OrderPetAcquisition> findAll();

    /**
     * 分页查询
     * @param  orderListQueryDto 分页参数
     * @return
     */
    IPage<OrderPetAcquisition> findByPage(OrderPetAcquisitionDto orderListQueryDto, HttpServletRequest request);

    void cancel(Long id);

    void confirm(OrderPetAcquisition orderPetAcquisition);


}
